export default {
	/**
	 * 判断是否最后一页
	 * @param {Object} limit 条/页
	 * @param {Object} page  页码
	 * @param {Object} count 数据总条数
	 */
	lastPage(limit, page, count) {
		limit = parseInt(limit);
		page = parseInt(page);
		count = parseInt(count);
		return count === 0 || (count > (page - 1) * limit && count <= page * limit);
	}
}
